﻿module Sustainalytics.Portfolio {

    import Common = Sustainalytics.Common;

    export interface IPortfolioService {
        hasPermision(): boolean;
        addPortfolios: (portfolioAdd: PortfolioAddDto) => any;
        updatePortfolios: (portfolioUpdate: PortfolioAddDto) => any;
        getPortfolios: (filter: PortfolioFilterDto, skip: number, take: number, orderBy: string[], orderByAsc: boolean, accountId: string, userId: string) => any;
        getPortfolioCount: (filter: PortfolioFilterDto, accountId: string, userId: string) => ng.IPromise<PortfolioListDto>;
    }
} 